net/http.Transport.connsPerHost (field)
8 uses
net/http (current package)
transport.go#L110: connsPerHost map[connectMethodKey]int
transport.go#L1521: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1522: if t.connsPerHost == nil {
transport.go#L1523: t.connsPerHost = make(map[connectMethodKey]int)
transport.go#L1525: t.connsPerHost[w.key] = n + 1
transport.go#L1585: n := t.connsPerHost[key]
transport.go#L1620: delete(t.connsPerHost, key)
transport.go#L1622: t.connsPerHost[key] = n
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |